package cn.wolfcode.luowowo;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 会员启动类
 */
@SpringBootApplication
@EnableDubbo  //扫描实现类的@Service注解,发送到注册中心
@MapperScan("cn.wolfcode.luowowo.member.mapper") //交给spring容器管理
public class MemberServer {

    public static void main(String[] args) {
        SpringApplication.run(MemberServer.class,args);
    }
}
